package org.celery.modules.merchant.mapper;

import org.celery.modules.merchant.entity.MerchantDesk;
import org.celery.modules.merchant.vo.MerchantDeskVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;

/**
 * 商户桌台表. Mapper 接口
 *
 * @author Celery
 * @since 2021-11-07
 */
public interface MerchantDeskMapper extends BaseMapper<MerchantDesk> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param merchantDesk
	 * @return
	 */
	List<MerchantDeskVO> selectMerchantDeskPage(IPage page, MerchantDeskVO merchantDesk);

	/**
	 * 获取类别名
	 * @param ids 桌台类别id
	 * @return List<String>
	 */
    List<String> getDeskCategoryName(String[] ids);
}
